New function to threshold a pixbuf's alpha channel into a bitmap.
authorFederico Mena Quintero <federico@redhat.com>
Wed, 27 Oct 1999 23:36:44 +0000 (23:36 +0000)
committerArturo Espinosa <unammx@src.gnome.org>
Wed, 27 Oct 1999 23:36:44 +0000 (23:36 +0000)
commit0eb096334e73642bb9b274289b7916ea00298d3a
tree9fa815ac4506d13e1f59330ed4890984ae54f491
parent3176b6b3eaec9912067a00286dbf2da8881d8dc3
New function to threshold a pixbuf's alpha channel into a bitmap.

1999-10-27  Federico Mena Quintero  <federico@redhat.com>

* src/gdk-pixbuf-render.c (gdk_pixbuf_render_threshold_alpha): New
function to threshold a pixbuf's alpha channel into a bitmap.

* src/gdk-pixbuf.c (gdk_pixbuf_new): Fixed so that it will
contemplate future extensions to ArtPixBuf's formats.

* src/io-png.c (png_info_callback): Use the new API of gdk_pixbuf_new().

* src/gdk-pixbuf.h (gdk_pixbuf_get_height): Added some convenience
macros to fetch the ArtPixBuf's fields.
gdk-pixbuf/ChangeLog
gdk-pixbuf/Makefile.am
gdk-pixbuf/gdk-pixbuf.c
gdk-pixbuf/gdk-pixbuf.h
gdk-pixbuf/gnome-canvas-pixbuf.c
gdk-pixbuf/io-png.c
gdk/gdkpixbuf-render.c [new file with mode: 0644]